#FILE NAME: 6711DICOMScorer16mm.txt
#MC CODE: TOPAS V3.8 
#DESCRIPTION: Test case 4 – Geometry for the scorer with the 16 mm COMS eye plaque in water phantom. ; see [reference]
#DISCLAIMER: This file (and associated code/files) is provided in the hope that it will be useful
#but without any warranty; without even the implied warranty of fitness for a particular
#purpose. See full disclaimer at [link]
#COPYRIGHT (C) 2023 Luc Beaulieu (Luc.Beaulieu@phy.ulaval.ca) and Audran Poher
#REDISTRIBUTION: redistribution of this and all associated files is NOT permitted.
#SOURCE OF THIS FILE: [link]

# ====================================================== #
#             DOSE SIMULATION FOR TG 43 ANALYSIS         #
# ====================================================== #
includeFile = Eye_Plaque_16mm_2.txt

i:Ts/Seed            = 1 #{SEED}
i:Ts/NumberOfThreads = 0


# ====================================================== #
#                         SCORER                         #
# ====================================================== #

s:Ge/RTDoseGrid/Type       = "TsBox"
s:Ge/RTDoseGrid/Parent     = "World"
d:Ge/RTDoseGrid/HLX        =  12.75 mm
d:Ge/RTDoseGrid/HLY        =  12.75 mm
d:Ge/RTDoseGrid/HLZ        =  12.75 mm
d:Ge/RTDoseGrid/TransX     =  0 mm
d:Ge/RTDoseGrid/TransY     =  0 mm
d:Ge/RTDoseGrid/TransZ     =  12 mm
s:Ge/RTDoseGrid/Color      =  "red"
b:Ge/RTDoseGrid/IsParallel = "T"
i:Ge/RTDoseGrid/XBins      = 51
i:Ge/RTDoseGrid/YBins      = 51
i:Ge/RTDoseGrid/ZBins      = 51

#d:Sc/ScorerCyl/OnlyIncludeParticlesWithInitialKEAbove = 5. keV
#s:Sc/ScorerCyl/Quantity   = "TrackLengthEstimator"
#s:Sc/ScorerCyl/InputFile  = "Muen.dat"

s:Sc/ScorerCyl/Quantity   = "DoseToMedium"
sv:Sc/ScorerCyl/Report    = 1 "Sum" 
s:Sc/ScorerCyl/Component  = "RTDoseGrid"
s:Sc/ScorerCyl/OutputFile = "6711_16mm_DoseDistribution_no5keVcut_noTLE{1}"
s:Sc/ScorerCyl/OutputType                 = "DICOM"
b:Sc/ScorerCyl/DICOMOutput32BitsPerPixel  = "True"
s:Sc/ScorerCyl/IfOutputFileAlreadyExists = "Increment"
sv:Sc/ScorerCyl/OnlyIncludeParticlesNamed = 1 "gamma"
sv:Sc/ScorerCyl/OnlyIncludeIfInMaterial = 1 "MyWater"



# ====================================================== #
#                         VIEWER                         #
# ====================================================== #

u:Gr/View/Zoom              = 1.
d:Gr/View/Theta             = 0 deg
d:Gr/View/Phi              = 0 deg

s:Gr/View/Type              = "OpenGL"
i:Gr/View/WindowSizeX       = 700
i:Gr/View/WindowSizeY       = 700
#s:Gr/View/Projection       = "Perspective"
#d:Gr/View/PerspectiveAngle = 50 deg
b:Gr/View/IncludeAxes      = "True"
b:Ts/UseQt = "F"
b:Gr/Enable           = "F"
b:Ts/PauseBeforeQuit  = "F"



